#!/usr/bin/python

def tester(start):
    state = start
    def nested(lable):
        nonlocal state
        print(lable,state)
        state += 1
    return nested
F = tester(0)
F("cali")
F("SANLE")
F("wangtao")
F("liqiang")
